<template>
  <div>
    <input type="text" :value="value" @input="getInfo">
  </div>
</template>
<script>
export default {
  name: 'mychild',
  props: {
    value: {
      type: String
    }
  },
  methods: {
    getInfo (e) {
      this.$emit('input', e.target.value)
    }
  }
}
</script>
